home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaaffffSSSSeeeettttLLLLooooooooppppSSSSttttaaaarrrrttttFFFFrrrraaaammmmeeee((((3333ddddmmmm)))) aaaaffffSSSSeeeettttLLLLooooooooppppSSSSttttaaaarrrrttttFFFFrrrraaaammmmeeee((((3333ddddmmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- afSetLoopStartFrame, afSetLoopEndFrame, afSetLoopCount - set the
- start/end frame and loop count from an AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee structure for a
- specified loop.
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiiooooffffiiiilllleeee....hhhh>>>>
-
- iiiinnnntttt aaaaffffSSSSeeeettttLLLLooooooooppppSSSSttttaaaarrrrttttFFFFrrrraaaammmmeeee((((AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee ffffiiiilllleeee,,,, iiiinnnntttt iiiinnnnssssttttiiiidddd,,,,
- iiiinnnntttt llllooooooooppppiiiidddd,,,, AAAAFFFFffffrrrraaaammmmeeeeccccoooouuuunnnntttt ssssttttaaaarrrrttttffffrrrraaaammmmeeee))))
-
- iiiinnnntttt aaaaffffSSSSeeeettttLLLLooooooooppppEEEEnnnnddddFFFFrrrraaaammmmeeee((((AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee ffffiiiilllleeee,,,, iiiinnnntttt iiiinnnnssssttttiiiidddd,,,,
- iiiinnnntttt llllooooooooppppiiiidddd,,,, AAAAFFFFffffrrrraaaammmmeeeeccccoooouuuunnnntttt eeeennnnddddffffrrrraaaammmmeeee))))
-
- iiiinnnntttt aaaaffffSSSSeeeettttLLLLooooooooppppCCCCoooouuuunnnntttt((((AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee ffffiiiilllleeee,,,, iiiinnnntttt iiiinnnnssssttttiiiidddd,,,,
- iiiinnnntttt llllooooooooppppiiiidddd,,,, iiiinnnntttt ccccoooouuuunnnntttt))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
- _f_i_l_e is an AAAAFFFFffffiiiilllleeeehhhhaaaannnnddddlllleeee structure, previously created by a call to
- aaaaffffOOOOppppeeeennnnFFFFiiiilllleeee(3dm).
-
- _i_n_s_t_i_d is a positive integer value which identifies an instrument
- configuration in _f_i_l_e. _i_n_s_t_i_d should be an element from an
- array of IDs created via a call to aaaaffffIIIInnnniiiittttIIIInnnnssssttttIIIIDDDDssss(3dm).
-
- _l_o_o_p_i_d is a positive integer value which identifies a loop structure in
- an instrument parameter chunk. You create _l_o_o_p_i_d's by calling
- aaaaffffIIIInnnniiiittttLLLLooooooooppppIIIIDDDDssss(3dm).
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- All of these routines return 0 on success or -1 if there is an error.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Each takes a _l_o_o_p_i_d argument which provides a handle to a set of loop
- parameters.
-
- You can create a list of loop ID's for an audio track by calling
- aaaaffffIIIInnnniiiittttLLLLooooooooppppIIIIDDDDssss(3dm). Logically, an audio file contains chunks of
- instrument parameters (specified by _i_n_s_t_i_d handles), and each chunk of
- instrument parameters may contain several loops.
-
- AAAAIIIIFFFFFFFF(4) (and AIFF-C) files contain at most one instrument configuration,
- but other file formats may contain multiple configurations. aaaaffffQQQQuuuueeeerrrryyyy(3dm)
- should be used to determine in advance whether a particular format
- supports multiple inst chunks.
-
- These routines allow you to set information about loops in an audio file
- without the added overhead of using associated markers (see
- aaaaffffSSSSeeeettttLLLLooooooooppppSSSSttttaaaarrrrtttt(3dm)). This is necessary because several file formats now
- supported by the Audio File Library contain loop information (i.e., start
- and end points) which is completely independent of marker information.
- In other words, the markers (if any) stored in the file header may and
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaaffffSSSSeeeettttLLLLooooooooppppSSSSttttaaaarrrrttttFFFFrrrraaaammmmeeee((((3333ddddmmmm)))) aaaaffffSSSSeeeettttLLLLooooooooppppSSSSttttaaaarrrrttttFFFFrrrraaaammmmeeee((((3333ddddmmmm))))
-
-
-
- usually will refer to locations in the file other than the loop start and
- end points.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- afOpenFile(3dm), afInitInstIDs(3dm), afSetInstParamLong(3dm),
- afInitLoopIDs(3dm), afSetLoopStart(3dm), aiff(4), avr(4), wave(4), sd2(4)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-